package com.yy.vo;

/**
 * @Description:
 * @ClassName: QueryCriteriaVO
 * @author: 姚欣宏
 * @date: 2023.10.24
 */
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel("查询条件值对象")
public class QueryCriteriaVO extends CommonRequestVO{
    @ApiModelProperty("主键id")
    private Integer id;

    @ApiModelProperty("用户token")
    private String token;

    @ApiModelProperty(value = "页面数", example = "1")
    private int pageNum;

    @ApiModelProperty(value = "页面大小", example = "10")
    private int pageSize;

    @ApiModelProperty(value = "是否升序", example = "false")
    private boolean asc;

    @ApiModelProperty(value = "查询详细信息")
    private QueryDetail query;

    @Data
    @ApiModel("查询详细信息")
    public static class QueryDetail {

        @ApiModelProperty(value = "机构代码")
        private String organCode;

        @ApiModelProperty(value = "卡号")
        private String cardNo;

        @ApiModelProperty(value = "查询类型")
        private String queryType;

        @ApiModelProperty(value = "开始时间戳")
        private String startTimestamp;

        @ApiModelProperty(value = "结束时间戳")
        private String endTimestamp;
    }
}

